﻿<%@ Page Title="" Language="C#" 
MasterPageFile="~/Areas/Administration/Views/Shared/MgmAdministration.master" 
Inherits="System.Web.Mvc.ViewPage<IEnumerable<Skynet.BusinessEntities.ExamCategory>>" %>



<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>List of exam categories </h2>
    <p>
        <h3>
            <%: Html.ActionLink("Create New", "Create") %>
        </h3>
        
    </p>
    <table class="G1">
        <tr>
            <th>
            </th>       
            <th>
                Title
            </th>
            <th>
                Description
            </th>          
        </tr>

    <% foreach (var item in Model) { %>    
        <tr>
            <td>
                <%: Html.ActionLink("Edit", "Edit", new { id=item.Id} ) %> |
                <%: Html.ActionLink("Details", "Details", new { id=item.Id })%> |
                <%: Html.ActionLink("Delete", "Delete", new { id = item.Id })%>
            </td>
            <td>
                <%: item.Title %>
            </td>
            <td>
                <%: item.Description %>
            </td>
        </tr>   
    <% } %>
    </table>
    
</asp:Content>

